set(src_list
    tbe_vector_reduce.cc
    tbe_crack_cleared.cc
    eletwise_v1.cc
    eletwise_v2.cc
    eletwise_v3.cc
    elewise_memset.cc
    tbe_gatherv2_aicore.cpp
    tbe_unsorted_segment_sum_aicore.cpp
    unsorted_segment_sum_tiling.cpp
)

target_sources(hccl_plf PRIVATE
    ${src_list}
    auto_tiling_rt2.cc
    eletwise_v4.cc
    gatherv2_tiling.cpp
    gatherv2_tiling_rt2.cpp
    unsorted_segment_sum_tiling_rt2.cpp
    segment_dsl.cc
)

target_sources(hccd PRIVATE
    ${src_list}
)